package com.compus.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.compus.entity.po.Position;
import com.compus.entity.vo.PositionUserCountVo;
import com.compus.mapper.PositionMapper;
import com.compus.service.PositionService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> implements PositionService {
    @Override
    public List<PositionUserCountVo> getPositionAndUserCount(Long carId) {
        return  baseMapper.getPositionAndUserCount(carId);
    }
}
